package com.scau402.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.scau402.common.annotation.Excel;
import com.scau402.common.core.domain.BaseEntity;

/**
 * 直播间主播对象 wms_stream_host
 * 
 * @author ruoyi
 * @date 2023-06-26
 */
public class WmsStreamHost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主播主键ID */
    private Long id;

    /** 主播编号 */
    @Excel(name = "主播编号")
    private String hostCode;

    /** 主播名称 */
    @Excel(name = "主播名称")
    private String hostName;

    /** 主播联系方式 */
    @Excel(name = "主播联系方式")
    private String telephone;

    /** 所属直播间ID */
    @Excel(name = "所属直播间ID")
    private Long studioId;

    /** 状态（0启用 1停用） */
    @Excel(name = "状态", readConverterExp = "0=启用,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 租户ID */
    @Excel(name = "租户ID")
    private Long tenantId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHostCode(String hostCode) 
    {
        this.hostCode = hostCode;
    }

    public String getHostCode() 
    {
        return hostCode;
    }
    public void setHostName(String hostName) 
    {
        this.hostName = hostName;
    }

    public String getHostName() 
    {
        return hostName;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setStudioId(Long studioId) 
    {
        this.studioId = studioId;
    }

    public Long getStudioId() 
    {
        return studioId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hostCode", getHostCode())
            .append("hostName", getHostName())
            .append("telephone", getTelephone())
            .append("studioId", getStudioId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("tenantId", getTenantId())
            .append("deptId", getDeptId())
            .toString();
    }
}
